# coding:utf-8
"""haha URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import include, url, patterns
from django.contrib import admin

urlpatterns = patterns('blog',
                url(r'^test/', 'test_views.index'),
                #检测返回值状态
                url(r'^manager/register$', 'views_login.get_an_apple'),
                #注册
                url(r'^manager/reg_user', 'views_login.reg_user'),
                #注册
                url(r'^manager/login', 'views_login.login'),
                # 网站返回
                url(r'^manager/home_web', 'views_web.home'),
                # 登录界面
                url(r'^manager/daka_web', 'views_web.daka'),
                # 登录界面
                url(r'^manager/daka_web', 'views_web.daka'),
                # 登录界面
                url(r'^manager/check_signature', 'views.check_signature'),
                # token验证
                url(r'^wechat/token', 'token_views.home'),




    # url(r'^home/', 'views.home'),
)
